import request from '@/utils/request'

// 获取设备品种列表
export const apiGetDeviceVarietyList = () => {
    return request({
        url: '/select/condition/find/list/variety',
        method: 'post',
    })
}

// 获取设备种类列表
export const apiGetDeviceClassList = () => {
    return request({
        url: '/select/condition/find/list/class',
        method: 'post',
    })
}

// 获取设备类别列表
export const apiGetDeviceCategoryList = () => {
    return request({
        url: '/select/condition/find/list/category',
        method: 'post',
    })
}


// 获取流程历史
export const apiGetOpHistory = (data) => {
    return request({
        url: '/dst-process-log/find/product/status',
        method: 'post',
        data
    })
}


// 获取操作日志
export const apiGetSysOpLog = (data) => {
    return request({
        url: '/mdm-log/find/page',
        method: 'post',
        data
    })
}
